package com.dj.dormitory.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author DJ同学
 * @Date 2021/1/28 11:46
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDataExcel {

    @ExcelProperty("用户名")
    private String userName;
    @ExcelProperty("密码")
    private String password;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("联系方式")
    private String phone;
    @ExcelProperty("用户类型")
    private String typeStr;//取得的名字和User不一样，否则BeanUtils.copyProperties报错
    @ExcelProperty("备注")
    private String remark;
}
